package com.lcf.framework.enums;

import lombok.Getter;

/**
 * redis分布式锁前缀
 *
 * @author ruoyi
 */
@Getter
public enum RedisLockPrefixEnum {
    //角色-权限
    ROLE_PERMISSION("role_permission"),
    //租户菜单列表
    TENANT_MENU("tenant_menu"),
    //添加用户至租户
    ADD_USER_TO_TENANT("add_user_to_tenant"),
    //添加购物车
    ADD_GOODS_CART("add_goods_cart"),
    //保存用户总收入
    SAVE_TOTAL_PRICE("save_total_price"),
    //注册
    REGISTER("register"),
    ;

    private final String name;

    RedisLockPrefixEnum(String name) {
        this.name = name;
    }
}
